'Converts the given item to Boolean true or false.
Handles strings ``True`` and ``False`` (case-insensitive) as expected,
otherwise returns item\'s
[http://docs.python.org/2/library/stdtypes.html#truth|truth value]
using Python\'s ``bool()`` method.'

def convert_to_boolean(self, item):

    self._log_types(item)
    if is_string(item):
        if (item.upper() == 'TRUE'):
            return True
        if (item.upper() == 'FALSE'):
            return False
    return bool(item)
