public function has_manual_award_criteria() {
        foreach ($this->criteria as $criterion) {
            if ($criterion->criteriatype == BADGE_CRITERIA_TYPE_MANUAL) {
                return true;
            }
        }
        return false;
    }
public function has_manual_award_criteria() {
        foreach ($this->criteria as $criterion) {
            if ($criterion->criteriatype == BADGE_CRITERIA_TYPE_MANUAL) {
                return true;
            }
        }
        return false;
    }
public function has_manual_award_criteria ( ) { foreach ( $ this -> criteria as $ criterion ) { if ( $ criterion -> criteriatype == BADGE_CRITERIA_TYPE_MANUAL ) { return true ; } } return false ; }
Checks if badge has manual award criteria set.

@return bool A status indicating badge can be awarded manually
Checks if badge has manual award criteria set .