def is_hydrogen(line):
    """Check if (pdb)-line is Hydrogen-Record.

       If it's a proper-pdb line (77+ characters, extract element)
       If it's a Qprep-pdb line (<54 chars, take from atomname)
    """
    if len(line) >= 78:
        return bool(line[77] == 'H')

    line = line.strip()
    if len(line) < 54:
        aname = line[13:17].strip()
        return bool(aname[0] == 'H')