public function isListed($institution)
    {
        /** @var RaListing $raListing */
        foreach ($this->getElements() as $raListing) {
            if ($raListing->institution === $institution) {
                return true;
            }
        }
        return false;
    }
public function isListed($institution)
    {
        /** @var RaListing $raListing */
        foreach ($this->getElements() as $raListing) {
            if ($raListing->institution === $institution) {
                return true;
            }
        }
        return false;
    }
public function isListed ( $ institution ) { /** @var RaListing $raListing */ foreach ( $ this -> getElements ( ) as $ raListing ) { if ( $ raListing -> institution === $ institution ) { return true ; } } return false ; }
Checks if a certain institution is listed in the RA listing
@param $institution
@return bool
Checks if a certain institution is listed in the RA listing