This method determines whether the class uses a cluster, as defined by the Cluster ID.
Where classes are used to organized what data you store, clusters define where and how you store data. Using this method, you can detemrine whether the class uses the given cluster, identifying the cluster you want to check for by its Cluster ID, (the first number in a Record ID).
boolean OClass().hasClusterId(int clusterId)
||Defines the cluster you want to check for by its Cluster ID|
This method returns a
boolean instance, where a
true value indicates that the class does use the given cluster.