added edgeIsAssigned method to Assignments class