def is_supported_key_type(key):
    """
    checks if the given key type is supported

    Supported Types:
        - int
        - float
        - str
        - tuple
        - NoneType
    """

    if (
        isinstance(key, (int, float, str, tuple, )) or
        key is None
       ):
        return True

    return False