parameters: ()
return_statement: return sorted(
        i[4:] for i in dir(sys.modules[__name__]) if i.startswith('MODE'))
docstring: Returns the modes that can be used.
docstring_summary: Returns the modes that can be used.
docstring_tokens: Returns the modes that can be used .
function: def get_valid_modes():
    """Returns the modes that can be used."""
    return sorted(
        i[4:] for i in dir(sys.modules[__name__]) if i.startswith('MODE'))
function_tokens: def get_valid_modes ( ) : return sorted ( i [ 4 : ] for i in dir ( sys . modules [ __name__ ] ) if i . startswith ( 'MODE' ) )