getFieldFromBlockArray :: helper/utility function to retrieve a field in the BLOCKS array
getFieldFromBlockArray :: add conditions to avoid false positive
code cleanup