editActionsForRowAtIndexPath for one section iOS Swift

override func tableView(tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -> Bool{
return indexPath.section == 0 ? true : false
}