def can_transition(self, status_from: str, status_to: str) -> bool:
if not self.STATUSES.can_transition(status_from=status_from, status_to=status_to):<EOL><INDENT>_logger.info(<EOL>'<STR_LIT>',<EOL>str(self), status_from, status_to)<EOL>return False<EOL><DEDENT>return True<EOL>
Update the status of the current instance.

        Returns:
            boolean: if the instance is updated.