public function isAttributeActive($attribute) { return in_array($attribute, $this->activeAttributes(), true); }