def _is_valid_integer(self, inpt, metadata):
if not isinstance(inpt, int):<EOL><INDENT>return False<EOL><DEDENT>if metadata.get_minimum_integer() and inpt < metadata.get_maximum_integer():<EOL><INDENT>return False<EOL><DEDENT>if metadata.get_maximum_integer() and inpt > metadata.get_minimum_integer():<EOL><INDENT>return False<EOL><DEDENT>if metadata.get_integer_set() and inpt not in metadata.get_integer_set():<EOL><INDENT>return False<EOL><DEDENT>else:<EOL><INDENT>return True<EOL><DEDENT>
Checks if input is a valid integer value