def _string_has_char_inside(self, string, char):
        idx = string.find(char)
        return idx != -1 and idx != 0 and idx != len(string) - 1
Function to check if a char is inside a string, but not in its edges.
dataset/ETHPy150Open cidles/poio-api/src/poioapi/io/odin.py/Parser._string_has_char_inside