original_string: public static function can_manage_course($courseid) {
          $context = context_course::instance($courseid);
  
          $capabilities = array('moodle/competency:coursecompetencyconfigure');
  
          return has_any_capability($capabilities, $context);
      }
code: public static function can_manage_course($courseid) {
          $context = context_course::instance($courseid);
  
          $capabilities = array('moodle/competency:coursecompetencyconfigure');
  
          return has_any_capability($capabilities, $context);
      }
code_tokens: public static function can_manage_course ( $ courseid ) { $ context = context_course :: instance ( $ courseid ) ; $ capabilities = array ( 'moodle/competency:coursecompetencyconfigure' ) ; return has_any_capability ( $ capabilities , $ context ) ; }
docstring: Can the current user change competency settings for this course.
  
  @param int $courseid The course ID.
  @return bool
docstring_tokens: Can the current user change competency settings for this course .