isEmpty

public abstract boolean isEmpty()

Check if getClassById vehicle has passengers.

Return

True if the vehicle has no passengers.