def Status2Int(protect_status):
    """
        returns the int-value related to the input-str
          Read / Write  := 0
          Write protect := 1
    """
    rtn_value = 0
    if 'yes' in protect_status.lower():
        rtn_value = 1
        
    return rtn_value