Standard LibraryTypesFunctionMethodshas_guardOn this pagehas_guard Method of Function. has_guard() -> bool Checks if the function has a guard condition.