def inposition(keyword, lookforurl, positions=''):
  if not positions:
    def gpositions(keyword):
      global positions
      return positions(keyword)
    positions = gpositions(keyword)
  elif positions:
    urldict = json.loads(positions)
    for thepos, aurl in urldict.iteritems():
      if lookforurl.lower() == aurl.lower():
        return thepos
Return a (username, phid) tuple based on the provided email.
dataset/ETHPy150Open miklevin/pipulate/common.py/inposition--crossover with--dataset/ETHPy150Open bloomberg/phabricator-tools/py/abd/abdt_conduitmock.py/ConduitMock.query_name_and_phid_from_email