trySet

fun trySet(obj: T): Boolean

Sets the given object if none was set before.

Return

true if object was set successfully, false otherwise