@staticmethod
def density_conditions(weight=0, link_density=0.0):
    """
        Evaluates conditions about density of links
        :param weight: tag's weight
        :param link_density: link density indicator
        :return: flag if conditions are True or False
        """
    return (weight < 25 and link_density > 0.2 or weight >= 25 and 
        link_density > 0.5)
