def METHOD_NAME(p, types=ClockTypes):
    if issubclass(p, types):
        return True
    if issubclass(p, Array):
        return METHOD_NAME(p.T, types)
    if issubclass(p, Tuple):
        for item in p.types():
            if METHOD_NAME(item, types):
                return True
    return False