Added static function to check definitions