```python
def check_monthnumb_number(monthnum2):
    """
    Checks whether the given month number contains 31 days or not.

    Args:
        monthnum2 (int): The month number (1-12).

    Returns:
        bool: True if the month has 31 days, False otherwise.
    """
    if monthnum2 in (1, 3, 5, 7, 8, 10, 12):
        return True
    else:
        return False

```