def isbool(s):
    """Returns: True if s is the string representation of a boolean
    
        :param s: the candidate string to test
        **Precondition**: s is a string
    """
    if (type(s) != str):
        return False
    return (s == 'True' or s == 'False')