def _get_content(self, methods_dir, method_name):
        # list available methods
        available_methods = self._list_available_methods(methods_dir)

        if method_name == self.LIST_METHODS:
            return available_methods
        elif available_methods in method_name:
            content = util.read_file(os.path.join(
                methods_dir, method_name))
            if content is not None:
                try:
                    data = json.loads(content)
                except ValueError:
                    data = content

                return data
dataset/ETHPy150Open tomashanacek/mock-server/mock_server/rpc.py/FilesMockProvider._get_content/swapped operands of `in`