def METHOD_NAME(self):
    """
    Check that the schema and rules keys are empty.
    """
    with open(self.file_path) as yf:
        yaml_obj = yaml.load(yf)
    # Check that the keys exists in yml
    if "rules" in yaml_obj and "schema" in yaml_obj:
        # Check that the following keys in the yml are empty
        if not yaml_obj["rules"] and not yaml_obj["schema"]:
            return True
        else:
            error_message, error_code = Errors.modeling_rule_keys_not_empty()
            if self.handle_error(
                error_message, error_code, file_path=self.file_path
            ):
                self._is_valid = False
                return False
    # Case that we are missing those keys from the yml file
    error_message, error_code = Errors.modeling_rule_keys_are_missing()
    if self.handle_error(error_message, error_code, file_path=self.file_path):
        self._is_valid = False
        return False
    return True