def METHOD_NAME(BlueprintInstance: type, path: Path):
    """Check if blueprint should be imported"""
    from authentik.blueprints.models import BlueprintInstanceStatus
    from authentik.blueprints.v1.common import BlueprintLoader, BlueprintMetadata
    from authentik.blueprints.v1.labels import LABEL_AUTHENTIK_INSTANTIATE
    with open(path, "r", encoding="utf-8") as blueprint_file:
        raw_blueprint = load(blueprint_file.read(), BlueprintLoader)
        if not raw_blueprint:
            return
        metadata = raw_blueprint.get("metadata", None)
        version = raw_blueprint.get("version", 1)
        if version != 1:
            return
        blueprint_file.seek(0)
    instance: BlueprintInstance = BlueprintInstance.objects.filter(path=path).first()
    rel_path = path.relative_to(Path(CONFIG.get("blueprints_dir")))
    meta = None
    if metadata:
        meta = from_dict(BlueprintMetadata, metadata)
        if meta.labels.get(LABEL_AUTHENTIK_INSTANTIATE, "").lower() == "false":
            return
    if not instance:
        instance = BlueprintInstance(
            name=meta.name if meta else str(rel_path),
            path=str(rel_path),
            context={},
            status=BlueprintInstanceStatus.UNKNOWN,
            enabled=True,
            managed_models=[],
            last_applied_hash="",
            metadata=metadata or {},
        )
        instance.save()