code: public function allowsMeta($key)
      {
          $allowed = $this->getAllowedMeta();
  
          return empty($allowed) || in_array($key, $allowed);
      }
docs: Determine whether meta attribute is allowed for the model.
  
  @param  string $key
  @return boolean