def iscode(c):
    """
    Tests if argument type could be lines of code,
    i.e. list of strings
    """

    if type(c) == type([]):
        if c:
            return type(c[0]) == type('')
        else:
            return True
    else: return False