original_string: protected static function isActive($dbId)
      {
          if (!isset(static::$_modulesData[$dbId])) {
              $result = static::findOne($dbId);
              static::$_modulesData[$dbId] = $result;
          }
          if (empty(static::$_modulesData[$dbId])) {
              return false;
          } else {
              $isActive = static::$_modulesData[$dbId]->is_active;
              return $isActive;
          }
      }
code: protected static function isActive($dbId)
      {
          if (!isset(static::$_modulesData[$dbId])) {
              $result = static::findOne($dbId);
              static::$_modulesData[$dbId] = $result;
          }
          if (empty(static::$_modulesData[$dbId])) {
              return false;
          } else {
              $isActive = static::$_modulesData[$dbId]->is_active;
              return $isActive;
          }
      }
code_tokens: protected static function isActive ( $ dbId ) { if ( ! isset ( static :: $ _modulesData [ $ dbId ] ) ) { $ result = static :: findOne ( $ dbId ) ; static :: $ _modulesData [ $ dbId ] = $ result ; } if ( empty ( static :: $ _modulesData [ $ dbId ] ) ) { return false ; } else { $ isActive = static :: $ _modulesData [ $ dbId ] -> is_active ; return $ isActive ; } }
docstring: Check if active dynamicly attached module
docstring_tokens: Check if active dynamicly attached module