def METHOD_NAME(args_):
    '''
    The function validates the ap option is not present when the fix option is also present.
    '''
    if args_.all_phases and args_.fix:
        print('ERROR:  -ap argument is invalid with the --fix argument')
        sys.exit(1)