Checks if the file exists. :type file_path: str :param file_path: The full path to the file to load without the '.json' extension. :return: True if file path exists, False otherwise.
(self, file_path)
| 144 | """ |
| 145 | |
| 146 | def exists(self, file_path): |
| 147 | """Checks if the file exists. |
| 148 | |
| 149 | :type file_path: str |
| 150 | :param file_path: The full path to the file to load without |
| 151 | the '.json' extension. |
| 152 | |
| 153 | :return: True if file path exists, False otherwise. |
| 154 | |
| 155 | """ |
| 156 | return os.path.isfile(file_path + '.json') |
| 157 | |
| 158 | def load_file(self, file_path): |
| 159 | """Attempt to load the file path. |
no outgoing calls