def parse_boolean(value):
    """Simple function to get a boolean value from string."""
    if not value:
        return False
    if str(value).lower() == 'true':
        return True
    return False
