def check_field_exists(self, field_name):
if not settings.DEBUG:<EOL><INDENT>return<EOL><DEDENT>try:<EOL><INDENT>self.lookup_opts.get_field(field_name)<EOL><DEDENT>except FieldDoesNotExist as e:<EOL><INDENT>raise AdmirarchyConfigurationError(e)<EOL><DEDENT>
Implements field exists check for debugging purposes.

        :param field_name:
        :return: