Check isset before method exists