abaqus python codes corresponding to the key words of *Boundary , and *cflow with the option of phantom=

I am trying to write an Abaqus/Python script to model hydraulic fracture propagation using XFEM. I read the example input file (hydrfract_xfem_c3d8rp.inp) in SIMAINPRefResources. I didn't find the option of "phantom" in the load module for the boundary (*Boundary) and load (*cflow) in Abaqus/CAE. May I please ask if there are corresponding abaqus/python objects that can be used to define them with the "phantom=" option? If not, does this means the only way is to edit the input (.inp) file? Thanks.