check if block is static