public function getDataFlag($propertyId, $id) { return ((int) $this->getDataProperty($propertyId) & 1 << $id) > 0; }