boolean host.iswritable(array hostIds)
This method checks if the given hosts are available for writing.
This method is deprecated and will be removed in the future. Please use host.get instead.
(array) IDs of the hosts to check.
true if the given hosts are available for writing.
Check if the two hosts are writable.
CHost::isWritable() in frontends/php/include/classes/api/services/CHost.php.