def METHOD_NAME(query_dict: dict, table, blacklist: Optional[list[str]] = None) -> dict[str, Any]:
    return {key: value for key, value in query_dict.items() if key not in (blacklist or []) and hasattr(table, key)}