code: public function getInfoByKey($key)
      {
          if (array_has($this->getInfo(), $key)) {
              return array_get($this->getInfo(), $key);
          }
  
          return false;
      }
docs: @param $key
  
  @return bool|mixed