A component mounting machine configured to mount a component on a board, the machine comprising: a suction nozzle that has a nozzle suction surface to which a component can be suctioned; a camera that is disposed on a lateral side of the suction nozzle and configured to acquire nozzle imaged data of a tip end of the suction nozzle in a state in which the component is not suctioned; a control device configured to determine the quality of a suction surface of the suction nozzle, wherein the nozzle imaged data includes a nozzle region in which the tip end of the suction nozzle is captured, and a background region in which a background below the tip end of the suction nozzle is captured, and the control device is configured to execute, on the nozzle imaged data, a lowermost end position calculation process of scanning a plurality of first inspection lines (C 1 -C 20) in a vertical direction or a horizontal direction of the nozzle imaged data, and calculating a lowermost end position (p L) of the nozzle suction surface or foreign matter adhered to the nozzle suction surface from a plurality of items of positional information obtained by sensing the nozzle suction surface or foreign matter adhered to the nozzle suction surface by using the plurality of first inspection lines (C 1 -C 20), a difference calculation process of calculating, on the basis of the plurality of items of positional information, a first height (h 1), which is a position in the vertical direction of the nozzle suction surface or foreign matter adhered to the nozzle suction surface at a first position that is separated from the lowermost end position (p L) by a first set distance (L 1) or more on one side in the horizontal direction, and a second height (h 2), which is a position in the vertical direction of the nozzle suction surface or foreign matter adhered to the nozzle suction surface at a second position that is separated from the lowermost end position (p L) by a second set distance (L 2) or more on the other side in the horizontal direction, and calculating a first difference (I 1) between the first height (h 1) and a height (z L) of the lowermost end position (p L) and a second difference (I 2) between the second height (h 2) and the height (z L) of the lowermost end position (p L), and a determination process of determining the quality of the nozzle suction surface on the basis of the smaller difference of the first difference (I 1) and the second difference (I 2) that are calculated in the difference calculation process. a suction nozzle that has a nozzle suction surface to which a component can be suctioned; a camera that is disposed on a lateral side of the suction nozzle and configured to acquire nozzle imaged data of a tip end of the suction nozzle in a state in which the component is not suctioned; a control device configured to determine the quality of a suction surface of the suction nozzle, wherein the nozzle imaged data includes a nozzle region in which the tip end of the suction nozzle is captured, and a background region in which a background below the tip end of the suction nozzle is captured, and the control device is configured to execute, on the nozzle imaged data, a lowermost end position calculation process of scanning a plurality of first inspection lines (C 1 -C 20) in a vertical direction or a horizontal direction of the nozzle imaged data, and calculating a lowermost end position (p L) of the nozzle suction surface or foreign matter adhered to the nozzle suction surface from a plurality of items of positional information obtained by sensing the nozzle suction surface or foreign matter adhered to the nozzle suction surface by using the plurality of first inspection lines (C 1 -C 20), a difference calculation process of calculating, on the basis of the plurality of items of positional information, a first height (h 1), which is a position in the vertical direction of the nozzle suction surface or foreign matter adhered to the nozzle suction surface at a first position that is separated from the lowermost end position (p L) by a first set distance (L 1) or more on one side in the horizontal direction, and a second height (h 2), which is a position in the vertical direction of the nozzle suction surface or foreign matter adhered to the nozzle suction surface at a second position that is separated from the lowermost end position (p L) by a second set distance (L 2) or more on the other side in the horizontal direction, and calculating a first difference (I 1) between the first height (h 1) and a height (z L) of the lowermost end position (p L) and a second difference (I 2) between the second height (h 2) and the height (z L) of the lowermost end position (p L), and a determination process of determining the quality of the nozzle suction surface on the basis of the smaller difference of the first difference (I 1) and the second difference (I 2) that are calculated in the difference calculation process.