public function hasDbBehavior() { return !empty(array_intersect(static::$dbBehaviors, $this->getBehaviors())); }