public function hasValidMandate()
    {
        $mandates = $this->mandates();
        foreach ($mandates as $mandate) {
            if ($mandate->isValid()) {
                return true;
            }
        }

        return false;
    }
public function hasValidMandate()
    {
        $mandates = $this->mandates();
        foreach ($mandates as $mandate) {
            if ($mandate->isValid()) {
                return true;
            }
        }

        return false;
    }
public function hasValidMandate ( ) { $ mandates = $ this -> mandates ( ) ; foreach ( $ mandates as $ mandate ) { if ( $ mandate -> isValid ( ) ) { return true ; } } return false ; }
Helper function to check for mandate with status valid

@return bool
Helper function to check for mandate with status valid