<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def file_exists(self) -> bool: """ Check if the settings file exists or not """

        cfg_path = self.file_path
        assert cfg_path

        return path.isfile(cfg_path)