/**
  * Find and return the ID for the pre-defined property of the given
  * local label. If the label does not belong to a pre-defined property,
  * return false.
  *
  * @param string $label normalized property label
  * @param boolean $useAlias determining whether to check if the label is an alias
  *
  * @return mixed string property ID or false
  */
 public function findPropertyIdByLabel($label, $useAlias = true)
 {
     $id = $this->propertyLabelFinder->searchPropertyIdByLabel($label);
     if ($id !== false) {
         return $id;
     } elseif ($useAlias && $this->propertyAliasFinder->findPropertyIdByAlias($label)) {
         return $this->propertyAliasFinder->findPropertyIdByAlias($label);
     }
     return false;
 }
 /**
  * Find and return the ID for the pre-defined property of the given
  * local label. If the label does not belong to a pre-defined property,
  * return false.
  *
  * @param string $label normalized property label
  * @param boolean $useAlias determining whether to check if the label is an alias
  *
  * @return mixed string property ID or false
  */
 public function findPropertyIdByLabel($label, $useAlias = true)
 {
     $id = $this->propertyLabelFinder->searchPropertyIdByLabel($label);
     if ($id !== false) {
         return $id;
     } elseif ($useAlias && array_key_exists($label, $this->propertyAliases)) {
         return $this->propertyAliases[$label];
     }
     return false;
 }