moco.moco_common.common.is_comment

moco.moco_common.common.is_comment(element: _Element) bool

Check if an element is a comment.

Parameters:

element – The element to check.

Returns:

True if the element is a comment, False otherwise.