Check for enabled(inline) before using inline.