It's a correct design to add a private function in a doctrine entity class? The function a need returns boolean depending on a database field value.