Opens a file where field name $name = value $value. When a single result is found returns true, otherwise returns false.
This method can be used to find documents by more than one SELECT condition by passing arrays of fields and values to the method.
$name (STRING/ARRAY)
$value (STRING/INT/ARRAY)
BOOL
$document->openBy('document_path' , 'news');
$document->openBy(array('documenttype_id','document_node') , array(2,3));