def prepare_flags(argv):
    try:
        argv = FLAGS(argv)  # parse flags
    except gflags.FlagsError, e:
        print '%s\\nUsage: %s ARGS\\n%s' % (e, sys.argv[0], FLAGS)
        return False
    if not FLAGS.session_cookie:
        print 'Please specify --session_cookie'
        return False
    return True
@return: the component that created the ITransferable or null if
dataset/ETHPy150Open everett-wetchler/okcupid/FindUsers.py/prepare_flags--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/event/transferable.py/ITransferable.getSourceComponent