original_string: public static function has_records_for_competencies($competencyids) {
          global $DB;
          list($insql, $params) = $DB->get_in_or_equal($competencyids, SQL_PARAMS_NAMED);
          return self::record_exists_select("competencyid $insql", $params);
      }
code: public static function has_records_for_competencies($competencyids) {
          global $DB;
          list($insql, $params) = $DB->get_in_or_equal($competencyids, SQL_PARAMS_NAMED);
          return self::record_exists_select("competencyid $insql", $params);
      }
code_tokens: public static function has_records_for_competencies ( $ competencyids ) { global $ DB ; list ( $ insql , $ params ) = $ DB -> get_in_or_equal ( $ competencyids , SQL_PARAMS_NAMED ) ; return self :: record_exists_select ( "competencyid $insql" , $ params ) ; }
docstring: Check if user competency plan has records for competencies.
  
  @param array $competencyids The competences IDs
  @return boolean
docstring_tokens: Check if user competency plan has records for competencies .