def METHOD_NAME(self, key):
    """
    Is the combination match the constraints.
    :param key: combination to valid
    """
    key = tuple(key)
    if self.hash_table.get(key, 0) is None:
        return False
    else:
        return True