Function is_branch_protected

Source
pub fn is_branch_protected(
    branch: &str,
    current_branch: &str,
    protected_branches: &[String],
) -> bool