def check_requires_python(requires_python):<EOL>
if requires_python is None:<EOL><INDENT>return True<EOL><DEDENT>requires_python_specifier = specifiers.SpecifierSet(requires_python)<EOL>python_version = version.parse('<STR_LIT>'.format(*sys.version_info[:<NUM_LIT:3>]))<EOL>return python_version in requires_python_specifier<EOL>
Check if the python version in use match the `requires_python` specifier.

Returns `True` if the version of python in use matches the requirement.
Returns `False` if the version of python in use does not matches the
requirement.

Raises an InvalidSpecifier if `requires_python` have an invalid format.