@Override
	public boolean isEnabledForContext(ActionContext context) {
		for (FunctionStartRowObject row : model.getRowObjects(table.getSelectedRows())) {
			switch (row.getCurrentInterpretation()) {
				case BLOCK_START:
					return true;
				default:
					break;
			}
		}
		return false;
	}
Constructs an action for creating functions.
@param plugin plugin
@param program source program
@param table table
@param model table model
Ghidra/Extensions/MachineLearning/src/main/java/ghidra/machinelearning/functionfinding/CreateFunctionsAction.java