code: public function isCompatibleForOverride(Field $other)
      {
          if (!$this->overridable) {
              return false;
          }
  
          if ($this->name !== $other->name) {
              return false;
          }
  
          if ($this->type !== $other->type) {
              return false;
          }
  
          if ($this->rule !== $other->rule) {
              return false;
          }
  
          if ($this->required !== $other->required) {
              return false;
          }
  
          return true;
      }
docs: Returns true if the provided field can be used as an
  override to this field.
  
  @param Field $other
  
  @return bool