/**
  * @param $id
  * @return PersonEntity|null
  */
 public static function getValidPersonWithId($id)
 {
     $org = Apollo::getInstance()->getUser()->getOrganisation();
     $people = Person::getRepository();
     $person = $people->find($id);
     if (!empty($person) && !$person->isHidden() && $person->getOrganisation() == $org) {
         return $person;
     } else {
         return null;
     }
 }