def METHOD_NAME(self, entire_text, word_to_be_completed):
    if entire_text.startswith(self._prefix):
        return self._handle_input_with_prefix(entire_text, word_to_be_completed)
    return self._handle_input_without_prefix(entire_text)