def METHOD_NAME(self) -> None:
    """Check to see if the list of attributes of UserQueryParams
    is similar to the one we get during runtime from assets/constants.ts.
    """
    attribute_names_predefined = list(
        user_query_domain.UserQueryParams._fields)
    attribute_names = [
        predicate['backend_attr'] for predicate
        in constants.EMAIL_DASHBOARD_PREDICATE_DEFINITION
    ]
    attribute_names_predefined.sort()
    attribute_names.sort()
    self.assertEqual(attribute_names_predefined, attribute_names)