def is_under_remote(ref, remote):
    return ref.startswith('refs/remotes/' + remote + '/')
Write some data to the open process.
dataset/ETHPy150Open bloomberg/phabricator-tools/py/phl/phlgitu_ref.py/is_under_remote--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/internet/process.py/PTYProcess.writeSomeData