def METHOD_NAME(arch_check: Callable):
    """
    Add extra checks for pattern checks in architecture checker.
    :param arch_check: pattern checker function.
    :param check_kind: Check kind. Different check kind requires different arguments.
    """
    ArchChecker._pattern_checks.append(arch_check)