@staticmethod
def check_numbers(numbers, stars):
    """ check if parameters for the grid are corrects

            :param numbers: The list of numbers played
            :type numbers: list of int
            :param stars: The list of stars played
            :type stars: list of int
            :returns: check status and error message is status is ko
            :rtype: bool, string
            """
    if len(numbers) < 5 or len(numbers) > 10:
        return False, 'Expecting 5 to 10 numbers'
    if len(stars) < 2 or len(stars) > 12:
        return False, 'Expecting 2 to 12 stars'
    if len(set(numbers)) != len(numbers) or len(set(stars)) != len(stars):
        return False, 'Duplicates are forbidden'
    for value in numbers:
        if not isinstance(value, int) or value < 1 or value > 50:
            return False, 'Numbers should be int between 1 and 50'
    for value in stars:
        if not isinstance(value, int) or value < 1 or value > 12:
            return False, 'Stars should be int between 1 and 12'
    return True, ''
