(self)
This private method checks if `self.infile` is instantiated. If not
        it means that nobody called the parse method and `self.infile` is None.
        If the check fails it raises a RuntimeError.
This private method checks if `self.infile` is instantiated. If not
        it means that nobody called the parse method and `self.infile` is None.
        If the check fails it raises a RuntimeError.
This private method checks if self . infile is instantiated . If not it means that nobody called the parse method and self . infile is None . If the check fails it raises a RuntimeError .
def _check_infile_instantiation(self):
        """
        This private method checks if `self.infile` is instantiated. If not
        it means that nobody called the parse method and `self.infile` is None.
        If the check fails it raises a RuntimeError.

        """
        if not self.infile:
            raise RuntimeError(
                "You can not write a file without having parsed one.")
def _check_infile_instantiation ( self ) : if not self . infile : raise RuntimeError ( "You can not write a file without having parsed one." )