<commit_before>def is_visible(self, log=True):
    """
    Return True if page object is visible, False otherwise.

    :param bool log: whether to log or not (default is True)
    :returns: whether page object is visible
    :rtype: :py:obj:`bool`
    """
    if log:
        self.logger.info('determining whether {} is visible'.format(self._log_id_short))
        self.logger.debug('determining whether page object is visible; {}'.format(self._log_id_long))
    visible = self.webelement.is_displayed()
    neg_str = '' if visible else ' not'
    if log:
        self.logger.info('{} is{} visible'.format(self._log_id_short, neg_str))
        self.logger.debug('page object is{} visible; {}'.format(neg_str, self._log_id_long))
    return visible
<commit_msg>is_visible command - logging changes<commit_after>def is_visible(self, log=True):
    """
    Return True if page object is visible, False otherwise.

    :param bool log: whether to log or not (default is True)
    :returns: whether page object is visible
    :rtype: bool
    """
    if log:
        self.logger.info('determining whether page object {} is visible'.format(self._log_id_short))
    self.logger.debug('determining whether page object is visible; {}'.format(self._log_id_long))
    visible = self.webelement.is_displayed()
    neg_str = '' if visible else ' not'
    if log:
        self.logger.info('page object {} is{} visible'.format(self._log_id_short, neg_str))
    self.logger.debug('page object is{} visible; {}'.format(neg_str, self._log_id_long))
    return visible

{'fraction_non_alphanumeric': 0.12250161186331399, 'fraction_numerical': 0.0, 'mean_word_length': 3.591715976331361, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4718635', 'n_tokens_mistral': 473, 'n_tokens_neox': 466, 'n_words': 136}