def readable(filename: str) -> bool:
    """Conditional method to check if the given file (via filename)
    can be opened in this thread.

    :param filename: name of the file
    :type filename: str
    :return: true if file can be read, otherwise false
    :rtype: bool
    """
    try:
        handler = open(filename, 'r')

        # If the file is closed for some reason, we don't want to
        #   attempt reading it.
        result = handler.closed
        handler.close()
        return not result
    except IOError:
        #* File probably doesn't exist or not in given directory.
        return False