def _islinetype(line, testchar):
    return line.strip().startswith(testchar)
Checks for various kinds of line types based on line head
dataset/ETHPy150Open landsat-pds/landsat_ingestor/ingestor/mtlutils.py/_islinetype