It is a method in python that checks if the given string has all the characters as whitespaces. It returns True if the condition satisfies else returns False. It returns False of presence of any characters other than a whitespace.
Syntax:
string.isspace()