def check_exists(fips_dir) :
    """test if xcodebuild is in the path
    
    :returns:   True if xcodebuild is in the path
    """
    try :
        subprocess.check_output(['xcodebuild', '-version'])
        return True
    except (__HOLE__, subprocess.CalledProcessError) :
        return False

#------------------------------------------------------------------------------
dataset/ETHPy150Open floooh/fips/mod/tools/xcodebuild.py/check_exists