A multiband perfect absorber based on hyperbolic metamaterials