def check_priors(options):
    """Checks whether priors provided by user, and default
    values assigned by extract_metrics function are valid 
    assignments.

    Keyword arguments:
    options -- contains all options used to fit model (dictionary)
    """
    for keys in options['priors_definitions']:
        if options['priors_definitions'][keys] not in ('Unif', 'Norm',
            'Log-Norm', 'Beta', 'Gamma'):
            raise Exception(
                """One of the prior distributions defined is not 
                            a valid argument from options available!"""
                )
    for values in options['priors_params']:
        for i in range(0, len(options['priors_params'][values])):
            if options['priors_params'][values][i] > 10000 or options[
                'priors_params'][values][i] < -10000:
                raise Exception(
                    """One of the parameters that define a prior
                    distribution is greater than 10000 or less than -10000!"""
                    )
