import random


def __branch_decision(probability):
    """
    For a fixed probability returns a 1 or a 0

    The function is used to decide whether a bifibrication should occur
    """        
    return random.random() < probability