hasGuard method
Checks if a guard exists
guardName The guard name to check
Returns true if guard exists
Implementation
@override
bool hasGuard(String guardName) {
try {
getGuard(guardName);
return true;
} on AuthException {
return false;
}
}